﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TanmiaGrp.GeneralLedger.Core;
using TanmiaGrp.GeneralLedger.Domain;

namespace TanmiaGrp.GeneralLedger.WinApp.ViewModels
{
    public class AccountEditorViewModel : BaseEditorViewModel<Account>
    {
        public AccountEditorViewModel()
        {
            BusinessDomain = new AccountDomain();

            PageNavigationEvent = Events.AccountPageNavigation;
            BrowserInitializedEvent = Events.AccountBrowserInitialized;
            EntityNavigationEvent = Events.AccountEntityNavigation;
            EntitySavedOrDeletedEvent = Events.AccountEntitySavedOrDeleted;

            WireEvents();
        }
    }
}
